package com.dxb.yomall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dxb.common.utils.PageUtils;
import com.dxb.yomall.product.entity.ProductAttrValueEntity;
import com.dxb.yomall.product.vo.BaseAttrs;

import java.util.List;
import java.util.Map;

/**
 * spu
 *
 * @author daixinbao
 * @email 1065808217@qq.com
 * @date 2021-01-05 22:26:07
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttrValue(Long id, List<BaseAttrs> baseAttrs);

    List<ProductAttrValueEntity> listBaseAttrForSpu(Long spuId);

    void updateSpuAttr(Long spuId, List<ProductAttrValueEntity> entities);
}

